package com.ovopark.organize.server.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 加盟商 跟进计划
 *
 */
@TableName("is_franchisees_registration_plan")
public class FranchiseesRegistrationPlan implements Serializable {

	public static final int FOLLOW_UP_STATUS_NOT_STARTED = 0;
	public static final int FOLLOW_UP_STATUS_FINISHED = 1;
	public static final int FOLLOW_UP_STATUS_OVERDUE = 2;
	public static final int FOLLOW_UP_STATUS_CANCEL = 3;


	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -8369221521151371836L;
	private Integer id;
	private Integer groupId;
	//创建了
	private Integer createId;
	@TableField(exist = false)
	private  String showName;

	@TableField(exist = false)
	private  String thumbUrl;



	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
    // 加盟商线索id
	private Integer  franchiseesRegistrationId;
   // 跟进类型
	private Integer followType;
	//跟进时间
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date followTime;
	// 下次跟进时间
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date nextFollowTime;
    // 跟进描述
	private String followContent;
	// 跟进方式 1 电话 2 到访 3 微信 4 其他
	private Integer followUpMethodId;

	@TableField(exist = false)
	private  String followUpMethodName;

	//跟进记录0 跟进计划1
	private Integer followUpPlan;

	// 跟进计划状态 0 未开始 1 已完成 2 已逾期 3 取消
	private Integer followUpPlanStatus;

	// 跟进计划状态 取消 备注
	private String followUpPlanReason;
	// 跟进计划 内容
	private String followUpPlanContent;

	private Integer isDel;

	public String getThumbUrl() {
		return thumbUrl;
	}

	public void setThumbUrl(String thumbUrl) {
		this.thumbUrl = thumbUrl;
	}

	public Integer getFollowUpPlan() {
		return followUpPlan;
	}

	public void setFollowUpPlan(Integer followUpPlan) {
		this.followUpPlan = followUpPlan;
	}

	public Integer getFollowUpPlanStatus() {
		return followUpPlanStatus;
	}

	public void setFollowUpPlanStatus(Integer followUpPlanStatus) {
		this.followUpPlanStatus = followUpPlanStatus;
	}

	public String getFollowUpPlanReason() {
		return followUpPlanReason;
	}

	public void setFollowUpPlanReason(String followUpPlanReason) {
		this.followUpPlanReason = followUpPlanReason;
	}

	public String getFollowUpPlanContent() {
		return followUpPlanContent;
	}

	public void setFollowUpPlanContent(String followUpPlanContent) {
		this.followUpPlanContent = followUpPlanContent;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public String getFollowUpMethodName() {
		return followUpMethodName;
	}

	public void setFollowUpMethodName(String followUpMethodName) {
		this.followUpMethodName = followUpMethodName;
	}

	public Integer getFollowUpMethodId() {
		return followUpMethodId;
	}

	public void setFollowUpMethodId(Integer followUpMethodId) {
		this.followUpMethodId = followUpMethodId;
	}

	public String getShowName() {
		return showName;
	}

	public void setShowName(String showName) {
		this.showName = showName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getFranchiseesRegistrationId() {
		return franchiseesRegistrationId;
	}

	public void setFranchiseesRegistrationId(Integer franchiseesRegistrationId) {
		this.franchiseesRegistrationId = franchiseesRegistrationId;
	}

	public Integer getFollowType() {
		return followType;
	}

	public void setFollowType(Integer followType) {
		this.followType = followType;
	}

	public Date getFollowTime() {
		return followTime;
	}

	public void setFollowTime(Date followTime) {
		this.followTime = followTime;
	}

	public Date getNextFollowTime() {
		return nextFollowTime;
	}

	public void setNextFollowTime(Date nextFollowTime) {
		this.nextFollowTime = nextFollowTime;
	}

	public String getFollowContent() {
		return followContent;
	}

	public void setFollowContent(String followContent) {
		this.followContent = followContent;
	}
}
